<template>
	<div id="app" :class="className"><router-view></router-view></div>
</template>
<script>
export default {
	name: 'app',
	computed: {
		className: function() {
			// 随时获取store中的skin数据，依据版本替换class
			return this.$store.getters.getSkin == '' ? 'blue' : this.$store.state.skin;
		}
	}
};
</script>

<style lang="scss">
@import '~common/theme/blue.scss';
@import '~common/theme/green.scss';
@import '~common/theme/black.scss';
@import '~common/theme/grey.scss';
@import '~common/theme/darkblue.scss';
@import '~common/theme/purple.scss';
</style>
